home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Franz PD / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).zip / Franz PD Disk #067 (1990-04)(Amiga User Group Deutschland e.V.).adf / Include / DeadKeyConvert.i < prev    next >
Text File  |  1989-07-02  |  832b  |  26 lines

  1.  
  2. {
  3.     DeadKeyConvert.i
  4.  
  5.     This simply declares the DeadKeyConvert function, used to "cook"
  6.    raw keystrokes (from Intuition).  Look at the ROM Kernel Manual and
  7.    the Enhancer Manual for more info.
  8.     The object code is in PCQ.lib, and the source is in Runtime/Extras.
  9.     You will need to call OpenConsoleDevice (defined in ConsoleUtils.i)
  10.     before you use this function, since DeadKeyConvert calls RawKeyConvert.
  11. }
  12.  
  13. {$I "Include/Intuition.i"}
  14.  
  15. {
  16.     If you are using this function without using Intuition.i, which
  17. would seem to be rare, I would suggest changing the Type of "msg" to
  18. Address or MessagePtr, or whatever is appropriate.  That way you don't
  19. have to include Intuition.i if you don't want to.
  20. }
  21.  
  22. Function DeadKeyConvert(msg : IntuiMessagePtr; Buffer : String;
  23.             BufSize : Integer; KeyMap : Address) : Integer;
  24.     External;
  25.  
  26.